#!/bin/bash
while True:
do
	ip0=$(ip addr show eth0 | grep 'inet ' | awk '{print $2}' | cut -d/ -f1)
	echo "eth0 ip is: " $ip0
done
